# coding: utf-8
import os
import time

fn = "E:\\Running\\Czj\\酷Q Air\\app\\cn.muxiaofei.cq_python27_sdk\\CQHanlder.log"
fn = unicode(fn, 'utf-8').encode('gbk')

fileSize = os.path.getsize(fn)
fileAcessTime = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(int(os.path.getatime(fn))))
fileCreateTime = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(int(os.path.getctime(fn))))
fileModifyTime = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(int(os.path.getmtime(fn))))

print fileModifyTime
print fileSize
